package com.ushio.pointservice.openfeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

@FeignClient(value = "order-service")
public interface Openfeign {
    @PostMapping("/commodity/type")
    public List<Map<String,String>> getCommodity(@RequestBody Map<String,String> map);

}
